﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Post>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<ul id="sales-button">
		<li>
			<%=Html.Partial("AddThis") %>
		</li>
		<%
			if (Request.IsAuthenticated)
			{
		%>
		<li>
			<%=Html.ActionLink("编辑", "Edit", "Post", new { id = Html.ViewContext.RouteData.Values["ID"] }, new { @class = "thickbox icon logo" })%>
		</li>
		<%  } %>
	</ul>
	<h2>
		<%=Html.Encode(Model.Title) %></h2>
	<div>
		<%=Model.Html %>
	</div>
</asp:Content>
